import request from '@/utils/request';

export function listSelect(){
  return request({
    url:"/comprehensive/laketype/listSelect",
    method:"GET"
  });
}

export function listOneHundred(){
  return request({
    url:"/comprehensive/laketype/listOneHundred",
    method:"GET"
  });
}

// 查询静湖之星类别列表
export function listType(query) {
  return request({
    url: '/comprehensive/laketype/list',
    method: 'get',
    params: query
  })
}

// 查询静湖之星类别详细
export function getType(id) {
  return request({
    url: '/comprehensive/laketype/' + id,
    method: 'get'
  })
}

// 新增静湖之星类别
export function addType(data) {
  return request({
    url: '/comprehensive/laketype/add',
    method: 'post',
    data: data
  })
}

// 修改静湖之星类别
export function updateType(data) {
  return request({
    url: '/comprehensive/laketype/update',
    method: 'post',
    data: data
  })
}

// 删除静湖之星类别
export function delType(id) {
  return request({
    url: '/comprehensive/laketype/' + id,
    method: 'post'
  })
}
